<html>
<head><meta charset="utf-8"><title>reproducing #81788 · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/reproducing.20.2381788.html">reproducing #81788</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="225313045"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/reproducing%20%2381788/near/225313045" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matthiaskrgr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/reproducing.20.2381788.html#225313045">(Feb 05 2021 at 15:32)</a>:</h4>
<p><span class="user-mention" data-user-id="125250">@Wesley Wiser</span> hi, I am curious how do you reproduce <a href="https://github.com/rust-lang/rust/issues/81788">https://github.com/rust-lang/rust/issues/81788</a> ?<br>
I tried <code>rustc src/test/ui/issues/issue-74614.rs  -Zpolymorphize=on</code> but that did not reproduce the ICE.</p>



<a name="225317394"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/reproducing%20%2381788/near/225317394" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/reproducing.20.2381788.html#225317394">(Feb 05 2021 at 16:02)</a>:</h4>
<p>I have manual patches that enable the MIR inliner at <code>-Zmir-opt-level=1</code>.</p>



<a name="225317842"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/reproducing%20%2381788/near/225317842" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> matthiaskrgr <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/reproducing.20.2381788.html#225317842">(Feb 05 2021 at 16:04)</a>:</h4>
<p>ah, I see. :)<br>
i tried mir opt lvl 3 but that didn't seem to work either ^^</p>



<a name="225318250"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/reproducing%20%2381788/near/225318250" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/reproducing.20.2381788.html#225318250">(Feb 05 2021 at 16:06)</a>:</h4>
<p>Yeah, I'm looking at what's blocking us from enabling it by default and found this after making that change. It's possible other unstable MIR optimizations are triggering and changing the code enough that this just doesn't exercise the code which is ICE-ing.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>